package com.slipper.system.api.affix.service;

import java.util.List;

import com.slipper.common.annotation.FeignRequestMapping;
import com.slipper.common.bo.Result;
import com.slipper.system.api.affix.bo.AffixItemBO;
import com.slipper.common.feign.ServiceClient;
import org.springframework.web.bind.annotation.RequestBody;

@ServiceClient
public interface IAffixItemSv {
    @FeignRequestMapping("/affixItem/queryBy")
    Result<AffixItemBO> queryBy(@RequestBody String id);

    @FeignRequestMapping("/affixItem/queryList")
    Result<List<AffixItemBO>> queryList(@RequestBody AffixItemBO bo);

    @FeignRequestMapping("/affixItem/save")
    Result<AffixItemBO> save(@RequestBody AffixItemBO bo);

    @FeignRequestMapping("/affixItem/deleteAll")
    Result<?> deleteAll(@RequestBody String[] ids);

    @FeignRequestMapping("/affixItem/delete")
    Result<?> delete(@RequestBody String id);

    @FeignRequestMapping("/affixItem/queryByAffixId")
    Result<AffixItemBO> queryByAffixId(@RequestBody String affixId);
}
